from zope.component import adapter
from zope.interface import Interface, implements
from Products.ATContentTypes.interface import IATFile
from Products.Archetypes.interfaces import IObjectInitializedEvent

class ISWFData(Interface):
    """ adapter for pdf2swf data """


class SWFData(Interface):
    implements(ISWFData)
    
    def __init__(self, context):
        self.context = context
    
@adapter(IATFile, IObjectInitializedEvent)
def pdf2swf(obj, event):
    import pdb; pdb.set_trace()